package com.ipet.app.ui.activity;

import android.os.Bundle;
import android.widget.ImageView;
import android.widget.TableLayout;

import com.ipet.app.R;
import com.ipet.app.ui.widget.PullScrollView;
import com.ipet.app.ui.base.SwipeBackActivity;

public class PersonInformation extends SwipeBackActivity implements PullScrollView.OnTurnListener{

    private PullScrollView mScrollView;
    private ImageView mHeadImg;

    private TableLayout mMainLayout;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.content_person_information);

        initView();
    }

    protected void initView() {
        mScrollView = (PullScrollView) findViewById(R.id.scroll_view);
        mHeadImg = (ImageView) findViewById(R.id.background_img);

        mMainLayout = (TableLayout) findViewById(R.id.table_layout);

        mScrollView.setHeader(mHeadImg);
        mScrollView.setOnTurnListener(this);
    }

    @Override
    public void onTurn() {

    }

}
